package com.horse.cloud.framework.email;

import java.io.Serializable;

/**
 * @create: Created by intelliJ IDEA18.1.3
 * @author: bing.Pan
 * @e-mail: 15923508369@163.com
 * @gmdate: 21/11/2018　17:15　星期三 (dd/MM/YYYY HH:mm)
 * @sidesc:
 */
public class EmailBo implements Serializable {
    private static final long serialVersionUID = -6673010339510063121L;


    /**
     * smtp 邮件服务地址
     */
    private String smtpHost;

    /**
     * 邮件正文格式 {@link EmailContentEnum}
     *   HTML     以HTML样式发送，需传入内容以标准HTML规范编写
     *   TEXT     以文本形式发送
     */
    private String contentType;

    /**
     * 发送方邮件地址
     */
    private String sendEmailAccount;

    /**
     * 发送方账户密码 163、qq邮箱使用授权码
     */
    private String sendEmailPassword;


    /**
     * 发送方nick 名称
     */
    private String sendEmailNickname;

    /**
     * 接收方email地址,多个使用英文逗号分开
     */
    private String receiveEmailAccount;


    /**
     * 抄送方email地址,多个使用英文逗号分开
     */
    private String carbonCopyAccount;


    /**
     * 密送方email地址,多个使用英文逗号分开
     */
    private String blindCarbonCopyAccount;

    /**
     * 邮件主题
     */
    private String subject;

    /**
     * 邮件正文内容
     */
    private String content;

    /**
     * 附加地址
     */
    private String attachmentAddress;


    public String getSmtpHost() {
        return smtpHost;
    }

    public void setSmtpHost(String smtpHost) {
        this.smtpHost = smtpHost;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getSendEmailAccount() {
        return sendEmailAccount;
    }

    public void setSendEmailAccount(String sendEmailAccount) {
        this.sendEmailAccount = sendEmailAccount;
    }

    public String getSendEmailPassword() {
        return sendEmailPassword;
    }

    public void setSendEmailPassword(String sendEmailPassword) {
        this.sendEmailPassword = sendEmailPassword;
    }

    public String getSendEmailNickname() {
        return sendEmailNickname;
    }

    public void setSendEmailNickname(String sendEmailNickname) {
        this.sendEmailNickname = sendEmailNickname;
    }

    public String getReceiveEmailAccount() {
        return receiveEmailAccount;
    }

    public void setReceiveEmailAccount(String receiveEmailAccount) {
        this.receiveEmailAccount = receiveEmailAccount;
    }

    public String getCarbonCopyAccount() {
        return carbonCopyAccount;
    }

    public void setCarbonCopyAccount(String carbonCopyAccount) {
        this.carbonCopyAccount = carbonCopyAccount;
    }

    public String getBlindCarbonCopyAccount() {
        return blindCarbonCopyAccount;
    }

    public void setBlindCarbonCopyAccount(String blindCarbonCopyAccount) {
        this.blindCarbonCopyAccount = blindCarbonCopyAccount;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAttachmentAddress() {
        return attachmentAddress;
    }

    public void setAttachmentAddress(String attachmentAddress) {
        this.attachmentAddress = attachmentAddress;
    }


    @Override
    public String toString() {
        return "EmailBo{" +
                "smtpHost='" + smtpHost + '\'' +
                ", contentType='" + contentType + '\'' +
                ", sendEmailAccount='" + sendEmailAccount + '\'' +
                ", sendEmailPassword='" + sendEmailPassword + '\'' +
                ", sendEmailNickname='" + sendEmailNickname + '\'' +
                ", receiveEmailAccount='" + receiveEmailAccount + '\'' +
                ", carbonCopyAccount='" + carbonCopyAccount + '\'' +
                ", blindCarbonCopyAccount='" + blindCarbonCopyAccount + '\'' +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                ", attachmentAddress='" + attachmentAddress + '\'' +
                '}';
    }
}
